﻿using NHibernate;
using NHibernate.Dialect;
using NHibernate.Dialect.Function;

namespace NHDay_Linq.ProviderExtensions
{
	public class MyDialect : MsSql2008Dialect
	{
		public MyDialect()
		{
			RegisterFunction("dbo.customgetmonth", new StandardSQLFunction("dbo.customgetmonth", NHibernateUtil.Int32));
		}
	}
}
